package run_time

import "log"

func SafeRun(fn func()) {
	defer func() {
		if err := recover(); err != nil {
			log.Println("运行中出错")
		}
	}()
	fn()
}
